<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8" />
    <title>{$webInfo['company_name']}-后台管理</title>
    <meta name="description" content="Angularjs, Html5, Music, Landing, 4 in 1 ui kits package" />
    <meta name="keywords" content="AngularJS, angular, bootstrap, admin, dashboard, panel, app, charts, components,flat, responsive, layout, kit, ui, route, web, app, widgets" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    
    <link rel="stylesheet" href="__ADMIN_STATICS__/bootstrap/dist/css/bootstrap.css" type="text/css" />
    <link rel="stylesheet" href="__ADMIN_STATICS__/animate.css/animate.css" type="text/css" />
    <link rel="stylesheet" href="__ADMIN_STATICS__/font-awesome/css/font-awesome.min.css" type="text/css" />
    <link rel="stylesheet" href="__ADMIN_STATICS__/simple-line-icons/css/simple-line-icons.css" type="text/css" />
    <link rel="stylesheet" href="__ADMIN_STATICS__/app/css/font.css" type="text/css" />
    <link rel="stylesheet" href="__ADMIN_STATICS__/app/css/app.css" type="text/css" />
    <link rel="stylesheet" href="__ADMIN_STATICS__/jQuery-panel/reset.css" type="text/css" />
    <style type="text/css">
        body{
            overflow: hidden;
        }
        .zUIpanelScrollBox,.zUIpanelScrollBar{
            width:5px;
            top:4px;
            right:2px;
            border-radius:5px;
        }
        .zUIpanelScrollBox{
            background:black;opacity:0.1;
            filter:alpha(opacity=10);
        }
        .zUIpanelScrollBar{
            background:#fff;opacity:0.8;
            filter:alpha(opacity=80);
        }
    </style>
</head>
<body >
<div class="app app-header-fixed">
    <!-- header -->
    <header id="header" class="app-header navbar" role="menu">
        <!-- navbar header -->
        <div class="navbar-header bg-dark">
            <button class="pull-right visible-xs dk" target=".navbar-collapse">
                <i class="glyphicon glyphicon-cog"></i>
            </button>
            <button class="pull-right visible-xs" target=".app-aside" ui-scroll="app">
                <i class="glyphicon glyphicon-align-justify"></i>
            </button>
            <!-- brand -->
            <a href="#/" class="navbar-brand text-lt">
            <!-- <i class="fa fa-btc"></i> -->
            <!-- <img src="__ADMIN_STATICS__
/app/img/logo.png" alt="." class="hide"> -->
                <!-- <span class="hidden-folded m-l-xs">后台管理</span> -->
            </a>
            <!-- / brand -->
        </div>
        <!-- / navbar header -->
        <!-- navbar collapse -->
        <div class="collapse pos-rlt navbar-collapse box-shadow bg-white-only">
            <!-- buttons -->
            <div class="nav navbar-nav hidden-xs">
                <a href="#" class="btn no-shadow navbar-btn" ui-toggle="app-aside-folded" target=".app">
                    <i class="fa fa-dedent fa-fw text"></i>
                    <i class="fa fa-indent fa-fw text-active"></i>
                </a>
    <!--           <a href="#" class="btn no-shadow navbar-btn" ui-toggle="show" target="#aside-user">
                <i class="icon-user fa-fw"></i>
                </a>-->      
            </div>
            <!-- / buttons -->
            <!-- nabar right -->
            <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                    <a href="#" data-toggle="dropdown" class="dropdown-toggle">
                        <i class="icon-bell fa-fw"></i>
                        <span class="visible-xs-inline">使用手册</span>
                        <!-- <span class="badge badge-sm up bg-danger pull-right-xs">2</span> -->
                    </a>
                    <!-- dropdown -->
                    <div class="dropdown-menu w-xl animated fadeInUp">
                        <div class="panel bg-white">
                            <a href="{:U('admin/manual/index')}" target="main-content">
                            <div class="panel-heading b-light bg-light">
                                <strong>使用手册</strong>
                            </div>
                            </a>
                            <div class="list-group">
                                <volist name="manual" id="v">
                                    <a href="{:U('admin/manual/view', array('id' => $v['id']))}" target="main-content" class="media list-group-item">
                                        <span class="media-body block m-b-none">{$v['title']}</span>
                                    </a>
                                </volist>
                            </div>
                        </div>
                    </div>
                    <!-- / dropdown -->
                </li>
                <li class="dropdown">
                    <a href="#" data-toggle="dropdown" class="dropdown-toggle clear" data-toggle="dropdown">
               <!--          <span class="thumb-sm avatar pull-right m-t-n-sm m-b-n-sm m-l-sm">
                            <img src="__ADMIN_STATICS__
/app/img/a0.jpg" alt="...">
                            <i class="on md b-white bottom"></i>
                        </span> -->
                        <span class="hidden-sm hidden-md">{$Think.session.user.username}</span> <b class="caret"></b>
                    </a>
                    <!-- dropdown -->
                    <ul class="dropdown-menu animated fadeInRight w">
                        <!-- <li class="wrapper b-b m-b-sm bg-light m-t-n-xs">
                            <div>
                                <p>300mb of 500mb used</p>
                            </div>
                            <div class="progress progress-xs m-b-none dker">
                                <div class="progress-bar progress-bar-info" data-toggle="tooltip" data-original-title="50%" style="width: 50%"></div>
                            </div>
                        </li>
                        <li>
                            <a href>
                                <span class="badge bg-danger pull-right">30%</span>
                                <span>Settings</span>
                            </a>
                        </li>
                        <li>
                            <a ui-sref="app.page.profile">Profile</a>
                        </li>
                        <li>
                            <a ui-sref="app.docs">
                                <span class="label bg-info pull-right">new</span>
                                Help
                            </a>
                        </li> -->
                        <li>
                            <a href="javascript:void(0);" ui-sref="app.page.profile" onclick="add()">修改密码</a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="{:U('Admin/Index/logout')}">注销</a>
                        </li>
                    </ul>
                    <!-- / dropdown -->
                </li>
            </ul>
        <!-- / navbar right -->
        </div>
        <!-- / navbar collapse -->
    </header>
    <!-- / header -->

    <!-- aside -->
    <aside id="aside" class="app-aside hidden-xs bg-dark">
        <div class="aside-wrap">
            <div class="navi-wrap">
                <!-- user -->
                <div class="clearfix hidden-xs text-center hide" id="aside-user">
                    <div class="dropdown wrapper">
                        <a href="app.page.profile">
                            <span class="thumb-lg w-auto-folded avatar m-t-sm">
                                <img src="__ADMIN_STATICS__/app/img/a0.jpg" class="img-full" alt="...">
                            </span>
                        </a>
                        <a href="#" data-toggle="dropdown" class="dropdown-toggle hidden-folded">
                            <span class="clear">
                                <span class="block m-t-sm">
                                    <strong class="font-bold text-lt">John.Smith</strong> 
                                    <b class="caret"></b>
                                </span>
                                <span class="text-muted text-xs block">Art Director</span>
                            </span>
                        </a>
                        <!-- dropdown -->
                        <ul class="dropdown-menu animated fadeInRight w hidden-folded">
                            <li class="divider"></li>
                            <li>
                                <a href="page_signin.html">注销</a>
                            </li>
                        </ul>
                        <!-- / dropdown -->
                    </div>
                    <div class="line dk hidden-folded"></div>
                </div>
                <!-- / user -->
                <!-- nav -->
                <nav ui-nav class="navi clearfix">
                    <ul class="nav">
                        <foreach name="cate" item="v">
                            <empty name="v['_data']">
                                <li class="b-nav-li">
                                    <a href="{:U('Admin/Article/index', array('categoryId' => $v['id']))}" target="main-content">
                                        <i class="fa fa-book icon-test"></i>
                                        <span class="menu-text"> {$v['name']} </span>
                                    </a>
                                </li>
                            <else />
                                <li>
                                    <a href class="auto">      
                                        <span class="pull-right text-muted">
                                        <i class="fa fa-fw fa-angle-right text"></i>
                                        <i class="fa fa-fw fa-angle-down text-active"></i>
                                        </span>
                                        <i class="fa fa-book icon-tes"></i>
                                        <span class="font-bold">{$v['name']}</span>
                                    </a>
                                    <ul class="nav nav-sub dk">
                                        <foreach name="v['_data']" item="n">
                                            <li>
                                                <a href="{:U('Admin/Article/index', array('categoryId' => $n['id']))}" target="main-content">
                                                <span>{$n['name']}</span>
                                                </a>
                                            </li>
                                        </foreach>
                                    </ul>
                                </li>
                            </empty>
                        </foreach>
                        <foreach name="data" item="v">
                            <empty name="v['_data']">
                                <li class="b-nav-li">
                                    <a href="{:U($v['mca'])}" target="right_content">
                                        <i class="fa fa-{$v['ico']} icon-test"></i>
                                        <span class="menu-text"> {$v['name']} </span>
                                    </a>
                                </li>
                            <else />
                                <li>
                                    <a href class="auto">      
                                        <span class="pull-right text-muted">
                                        <i class="fa fa-fw fa-angle-right text"></i>
                                        <i class="fa fa-fw fa-angle-down text-active"></i>
                                        </span>
                                        <i class="fa fa-{$v['ico']} icon-tes"></i>
                                        <span class="font-bold">{$v['name']}</span>
                                    </a>
                                    <ul class="nav nav-sub dk">
                                        <foreach name="v['_data']" item="n">
                                            <li>
                                                <a href="{:U($n['mca'])}" target="main-content">
                                                <span>{$n['name']}</span>
                                                </a>
                                            </li>
                                        </foreach>
                                    </ul>
                                </li>
                            </empty>
                        </foreach>
                        <if condition="$flag">
                            <li>
                                <a href class="auto">      
                                    <span class="pull-right text-muted">
                                    <i class="fa fa-fw fa-angle-right text"></i>
                                    <i class="fa fa-fw fa-angle-down text-active"></i>
                                    </span>
                                    <i class="fa fa-book icon-tes"></i>
                                    <span class="font-bold">用户手册</span>
                                </a>
                                <ul class="nav nav-sub dk">
                                    <li>
                                        <a href="{:U('Admin/manual/index')}" target="main-content">
                                        <span>手册列表</span>
                                        </a>
                                    </li>
                                </ul>
                            </li>
                        </if>
                    </ul>
                </nav>
                <!-- nav -->
            </div>
        </div>
    </aside>
    <!-- / aside -->
    <!-- content -->
    <div id="content" class="app-content" role="main">
        <div class="app-content-body">
            <iframe id="main-content-iframe" src="{:U($webInfo['web_index'])}" frameborder="0" width="100%" height="100%" name="main-content" scrolling="auto" frameborder="0" scrolling="no"></iframe>
        </div>
    </div>
    <!-- / content -->
    <!-- footer -->
<!--     <footer id="footer" class="app-footer" role="footer">
        <div class="wrapper b-t bg-light"> -->
            <!-- <span class="pull-right">2.0.1 <a href class="m-l-sm text-muted"><i class="fa fa-long-arrow-up"></i></a></span> -->
<!--             <strong>Copyright &copy; 2015 <a href="http://www.sofound.net/" target="_blank">南宁首丰网络科技有限公司</a>.</strong>保留所有权利。
        </div>
    </footer> -->
    <!-- / footer -->
</div>
<!-- 修改密码模态框开始 -->
<div class="modal fade" id="bjy-add" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
     <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
          &times;
        </button>
        <h4 class="modal-title" id="myModalLabel">
          修改密码
        </h4>
      </div>
      <div class="modal-body">
        <form class="form-horizontal" action="{:U('Admin/User/editPassword')}" method="post">
          <div class="line line-dashed b-b line-lg pull-in"></div>
          <div class="form-group m-b-none">
            <label class="col-sm-2 control-label" for="input-id-1">原密码</label>
            <div class="col-sm-6">
                <input type="password" class="form-control" name="old_password" data-form-un="1470118834084.755">
            </div>
          </div>
          <div class="line line-dashed b-b line-lg pull-in"></div>
          <div class="form-group m-b-none">
              <label class="col-sm-2 control-label" for="input-id-1">新密码</label>
              <div class="col-sm-6">
                  <input type="password" class="form-control" name="new_password" data-form-un="1470118834084.755">
              </div>
          </div>
          <div class="form-group m-b-none m-t-none m-l-none m-r-none">
            <div class="line line-dashed b-b line-lg pull-in"></div>
            <div class="col-sm-4 col-sm-offset-2">
                <button type="submit" class="btn btn-primary">提交</button>
            </div>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>
<!-- 修改密码模态框结束 -->
<script src="__ADMIN_STATICS__/jquery/jquery.min.js"></script>
<script src="__ADMIN_STATICS__/bootstrap/dist/js/bootstrap.js"></script>
<script src="__ADMIN_STATICS__/app/js/ui-nav.js"></script>
<script src="__ADMIN_STATICS__/app/js/ui-toggle.js"></script>
<script src="__ADMIN_STATICS__/jQuery-panel/zUI.js"></script>
<script type="text/javascript">
// 修改密码
function add(){
  $('#bjy-add').modal('show');
}
</script>
</body>
</html>
